-- you can add configs your self, by doing this; Example 

--local e f:CreateFontString(nil 'OVERLAY')
--e:SetFont(FontName, HexUI.config.eFontSize, 'OUTLINE')

-- then you add ["eFontSize"] = 15, to the config, have fun!

HexUI = {}

HexUI["config"] = { 

    --oUF UnitFrames 
	["showdebufftype"] = true, -- want it to show blue for magic, or purple for curse, etc. or just gray?
	["showpvpicon"] = true, -- want to show pvp icon?
	["shadowpvptimers"] = true, -- want timer on pvp icon? 
	["showportraits"] = true, -- want to show portraits on oUF?
	["showbuffs"] = true, -- want to show buffs on oUF?
	["showdebuffs"] = true, -- want to show debuffs on oUF?
	["showaggroonraidframes"] = false, -- want to see who has aggro on raid frames? 
	["raiddebuffs"] = true, -- want raid debuffs on raid frames?
	["bossframes"] = true, -- want boss frames? 
	["arenaframes"] = true, -- want arena frames?
	["showparty"] = true, -- want party frames?
	
	-- oUF Modules
	["expbar"] = false, -- want expbar? (it's always loaded if your not 85)
	["moveableframes"] = false, -- want to move your frames?
	["totembar"] = false,  -- want totem bar? (it's always loaded if your a shaman)
	
	-- oUF Font Sizes
	["hpfontsize"] = 15,
	["manafontsize"] = 15,
	["latencyfontsize"] = 12, -- latency on castbar fontsize
	["cbtimefontsize"] = 13, -- castbar fontsize
	["cbtextfontsize"] = 13, -- castbar fontsize
	["mirrorbarfontsize"] = 14, 
	["cpfontsize"] = 26, -- combo points fontsize.
	["namefontsize"] = 15, -- name fontsize.
	["expfontsize"] = 15, -- exp bar fontsize.
	["eclipsefontsize"] = 15, -- eclipes font size.
	["classtagbig"] = 25, -- shadow orbs, water shield, lighting shield, stacks.
	["classtagsmall"] = 22, -- tial waves, maelstorm, stacks
	
	-- oUF PowerBar Options
	["powerbarnormal"] = false, -- the powerbar as oUF_Aftermathh started off with?
	["powerbarright"] = false, -- places the powerbar at the right.
	["powerbarmiddle"] = false, -- places the powerbar in the middle.
	["powerbarleftnright"] = true, -- places the powerbar, left and right.
	
	-- oUF Castbars Options
	["castbars"] = true, -- enable castbars.
	["castbarclasscolor"] = false, -- shows class colors on player castbar.
	["showsafezone"] = true, -- shows safezone on playercastbar.
	["showlatency"] = true, -- shows latency on castbar.
	["targetcastbaricon"] = true, -- shows an icon on target castbar.
	["focuscastbaricon"] = true, -- shows an icon focus castbar
	["showinterrupthighlight"] = true, -- glows an background on target + focus castbar when you can't interrupt it.
	
	-- General stuff 
	["trickspopup"] = true, -- shows a text on the screen around where raid warning is abouts, with who you got tricks from.
    ["autoacceptinvite"] = true, -- Auto accpects invites from, guild, and friends won't accpect if your in dungeon que.
	["autorepairsell"] = true, -- auto repairs, and sell gray items.
	["sellfortunecards"] = true, -- auto sells your fortune cards.
	["autorealeaseinpvp"] = true, -- Auto realeases, in tol barad, wintergraps, etc.
	["hideuierrors"] = true, -- Aka "Out of range", "that ability is not ready yet"
	["loginmessage"] = true, -- not the first time your using Aftermathh UI? :3
	["showduraility"] = false, -- shows durability on the minimap.
	["showcoordsonmap"] = true, -- shows coords on world map
	["altpowerbar"] = true, -- awsome altpowerbar. can be moved by /pmove.
	["spammstuff"] = true, -- removes "You have learned a new spell:" "You have learned a new ability:", "You have unlearned", "Your pet has unlearned"
	["spammstuffz"] = true, -- removes "Welcome to World of Warcraft!" and so on... 
	
	-- Combat Text Stuff
	["combattextshowhealing"] = false, -- removes healing from combat text
	["showharmfulauras"] = false, -- remove filter out auras that you got from enimes
	
	-- Class Stuff
    ["showlavabursticon"] = false, -- shows an lava burst icon, on the screen when off cooldown.
	["showstarsurgeicon"] = false, -- shows an starsurge icon on the screen when off cooldown.
	["aftertotems"] = true, -- skins totembar, and makes them more beauty.
	
	-- Panels Config 
	["bartenderpanel"] = true, -- panel under action bars.
	["statpanel"] = true, -- panel under "fps, ms"
	["statpanelt"] = true, -- panel under "fps, ms" transparent with class colors.
	["bottompanel"] = true, -- bottom panel, with transparent class colors.
	["toppanel"] = false, -- top panel, with transparent class colors
	
	-- Tooltip 
	["tooltipnotovermouse"] = false, -- tooltip under Minimap.
	["tooltipovermouse"] = true, -- tooltip on mouse.
	["showhealthontooltip"] = true, -- shows health text on tooltip bar.
	
	-- SetCVar
	["aftermathhnamestyle"] = true, -- my personal perfensen with names, npcs, guild names etc.
	["aftermathhnameplatestyle"] = true, -- my personal perfensen, with nameplates.
	["stickytarget"] = true, -- Deselect target when clicking off of them
	["nosound"] = true, -- Kill sound! like it never existed!
	["ilovechatbubbles"] = true, -- Yes! i love chat bubbles.
	["howmanycores"] = 15, -- ProcessAffinityMask: Dual Core = 3, Triple Core = 7,  Quad Core/i5 = 15, i7 = 255, 16 core/8 core with hyperthreading = 65535 (Untested)
	
	-- Chat Options 
	["chatposistion"] = true, -- Automatlicly positons the chat everytime you make an new character etc.
	["chatoptions"] = true, -- my personal, chat options.
	["chatnonfade"] = true, -- Chat, tabs, chat doesn't fade.
	["chatfade"] = false, -- tabs, chat fading.
	["nocombatlog"] = false, -- removes combat log from chat tabs.
	
	-- Tekability
	["tekability"] = true, -- durability on Character Slots when you press "c" 
	["tekabilityfontsize"] = 12, 
	
	-- Quickie
    ["quickie"] = true, -- Puts two icons on the character inspect that you can hide cloak/head.
	["quickieiconsize"] = 25,
	
	-- Buff Options
	["buffbuttonsize"] = 33, -- buff icon size?
	["buffbuttonscale"] = 0.95, -- buff icon scale
	["buffperrow"] = 13, -- how many buffs per row?
	["buffspacingy"] = 23, 
	["buffspacingx"] = 5,
	["classcoloronbuffs"] = true, -- 10(m in class color) or 1(s in class color)
	
	-- Buff Fonts
	["buffdurationfontsize"] = 13,
	["buffcountfontsize"] = 14,
	
	-- Chat fonts.
	["chattabfontsize"] = 11,
	["editboxheaderfontsize"] = 14,
	["editboxfontsize"] = 14,
	
	-- Some other fonts
	["statsfontsize"] = 15,
	["tricksfontsize"] = 28,
	["omniccfontsize"] = 15,
	["durabilityfontsize"] = 16,
	["altpowerfontsize"] = 13,
	
	-- Minimap Fonts
	["minimaptimefontsize"] = 18,
	["minimapcalendarfontsize"] = 18,
	["minimaptrackingfontsize"] = 18,
	
	-- Tooltip Fonts 
	["gametooltipheadertext"] = 15,
	["gametooltiptext"] = 12, 
	["gametooltiptextsmall"] = 11,
	["tooltiphealthfontsize"] = 13,
	
	-- Loot Fonts
	["lootfontsize"] = 13,
	["lootcountfontsize"] = 13,
	
	-- BagFrame Fonts
	["moneyfontsize"] = 14, -- Money font, in bags + bank
	["tokenfontsize"] = 12, -- Valor points, Justice points, Honor, Conquest, etc.. font in bag frame.
}

--local Name = UnitName("player")
local Level = UnitLevel("player")
local Class = select(2, UnitClass("player"))
--local Realm = GetRealmName()

--[[ Options for you char Example

if Name == "CharName" and Realm == "RealmName" and Class == "ClassName" and Level == 85 then
    HexUI.config.noconfirmonloot = true
	HexUI.config.autorealeaseinpvp = false
end

--]]

if Class == "SHAMAN" then
    HexUI.config.totembar = true
end	

-- make sure we load exp bar, if not lvl 85.	
if Level ~= 85 then
	HexUI.config.expbar = true
end